package com.usian.user.service;

import com.usian.common.dto.CompeDto;
import com.usian.common.dto.CompetitionDto;
import com.usian.common.vo.ResponseResult;

public interface CompetitonService {
    ResponseResult getCompetitionList(CompetitionDto competitionDto);

    ResponseResult getCompetitionById(Integer compeId);

    ResponseResult addMember(Integer compeId, Integer userId);

    ResponseResult getTeam();

    ResponseResult startCompe(Integer compeId);

    ResponseResult insertHistory(Integer compeId, Integer queId, Integer answerId);

    ResponseResult selectAnswerById(Integer compeId, Integer queId);

    ResponseResult getQue(Integer compeId, Integer queId);

    ResponseResult getCompeResult(CompeDto compeDto);

    ResponseResult judgeAnswer(Integer compeId);
}
